﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Dimok.FilteredView;

namespace MBC {
	#region ServiceModel
	public abstract class ServiceModel : Dimok.ProfileModel {
		#region LoanID
		private int loanID;
		public virtual int LoanID {
			get { return loanID; }
			set {
				if (loanID == value) return;
				loanID = value;
				RaisePropertyChanged();
			}
		}
		#endregion
		#region VantageID
		string vantageID;
		public virtual string VantageID {
			get { return vantageID; }
			set {
				if (vantageID == value) return;
				vantageID = value;
				RaisePropertyChanged();
			}
		}
		#endregion
		public Service.SLServiceClient ServiceClient = null;
		public ServiceModel() {
			ServiceClient = InitServiceClient<Service.SLServiceClient>("BasicHttpBinding_ISLService", "/Manager/webservices/slservice.svc");
		}
	}

	public abstract class MainPageModelBase : ServiceModel {
	}
	#endregion
}
